package com.ych.builder;

/**
 * Created by 灰灰 on 2017/6/29.
 */
public class Main {
    public static void main (String[] args) {
        PersonDirector pd = new PersonDirector();
        Person person = pd.constructPerson(new ManBuilder());
        System.out.println(person.getBody());
        System.out.println(person.getFoot());
        System.out.println(person.getHead());
    }
}
